Ticketack\Core\Models\ArticleVariant S

Total Complexity 50
Dependencies 7
Dependents 1
Total lines 210
Lines of code 129
Logical lines of code 63
Comment lines 16
Methods 17
Properties 13

Methods 17

Method Rating Maintainability Complexity Lines of code
__construct()
B
43 17 41
jsonSerialize()
S
55 2 20
price()
S
69 3 6
purchasing_price()
S
69 3 6
value()
S
69 3 6
has_stock_for_salepoint()
S
68 3 8
name()
S
70 3 6
set_stocks_by_salepoint()
S
66 3 8
stock_factor()
S
78 2 3
gtin()
S
78 2 3
has_id()
S
78 2 3
sku()
S
78 2 3
set_id()
S
77 1 4
stocks()
S
82 1 3
_id()
S
82 1 3
is_variable_price()
S
82 1 3
vat()
S
82 1 3